package com.itheima.homework.homework06;

public class Dog extends Animal implements Swim{
    public void Dog(){

    }

    public Dog(int age) {
        super(age);
    }

    @Override
    public void eat() {
        System.out.println("狗啃骨头");
    }

    @Override
    public void swim() {
        System.out.println("狗会狗刨游泳");
    }
}
